package com.drakulo.games.ais.core.delayed;

import java.math.BigDecimal;
import java.util.Map;

import com.drakulo.games.ais.core.Colony;
import com.drakulo.games.ais.core.Resource;

/**
 * 
 * @author Drakulo
 * 
 */
public abstract class MapAction extends DelayedAction {
	private Colony colony;
	private Map<Resource, BigDecimal> costMap;

	protected MapAction(Colony c, Map<Resource, BigDecimal> costMap,
			int duration, int robotsUsed) {
		super(duration, robotsUsed);
		this.colony = c;
		this.costMap = costMap;
	}

	public abstract String getGfxKey();

	public Map<Resource, BigDecimal> getCostMap() {
		return this.costMap;
	}

	public Colony getColony() {
		return this.colony;
	}
}
